package 类与对象.多态.向上向下转型;

public class Cat extends Animal{
    public void eat() {
        System.out.println("猫吃鱼");
    }

    public void catchMouse() {
        System.out.println("猫抓老鼠");
    }
}
